package com.erlin.store.controller.param;

import com.erlin.store.constant.StoretypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Setter
@ApiModel
public class StoreRegisterParam implements Serializable {
//    @ApiModelProperty("openId")
//    @NotBlank
//    private String directorOpenId;
//    @ApiModelProperty("user mid")
//    @NotBlank
//    private String userMid;
    @ApiModelProperty("商户名称")
    @NotBlank
    private String name;
    @ApiModelProperty("招牌图片")
    @NotBlank
    private String signBoardImg;
    @ApiModelProperty("lostoreLogogo")
    private String storeLogo;
    @ApiModelProperty("负责人姓名")
    @NotBlank
    private String directorName;
    @ApiModelProperty("负责人身份证号")
    private String directorCart;
    @ApiModelProperty("营业执照号")
    @NotBlank
    private String businessLicenseCode;
    @ApiModelProperty("营业执照图片")
    private String businessLicenseImg;
    @ApiModelProperty("经度")
    @NotNull
    private BigDecimal longitude;
    @ApiModelProperty("纬度")
    @NotNull
    private BigDecimal latitude;
    @ApiModelProperty("详细地址")
    @NotNull
    private String detailAddress;
    @ApiModelProperty("联系电话")
    private String contactNumber;
    @ApiModelProperty("门店类型 LOCAL实体店 ONLINE 线上店 VENDOR 移动商铺")
    @NotNull
    private StoretypeEnum storeType;
}
